"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const Room_1 = __importDefault(require("../models/Room"));
async function default_1(call) {
    const room = Room_1.default.instance.get(call.req.roomId);
    if (!room) {
        call.error('房间号不存在');
        return;
    }
    call.succ({ room });
}
exports.default = default_1;
